package org.runecore;

import java.io.IOException;

import org.runecore.rs2.Environment;

/**
 * RuneCore
 * Aug 20, 2011
 * @author Harry Andreas<Harry@RuneCore.org>
 */
public class Launch {
	
	/**
	 * The <code>Environment</code> instance
	 */
	private static Environment environment;
	
	/**
	 * Launches the application
	 * @param args
	 * @throws Exception 
	 * @throws IOException 
	 * @throws SecurityException 
	 */
	public static void main(String[] args) throws Exception {
		environment = new Environment();
		environment.init();
	}
	
	/**
	 * 
	 * @return
	 */
	public static Environment getEnv() {
		return environment;
	}

}